{{if !empty($data)}}
{{foreach $data as $v}}
<li class="am-animation-scale-up mTop10">
    <div class="items am-padding-bottom-xs">
        <a href="{{$v.goods_url}}" target="_blank" class="am-block">
            <!-- 搜索页面商品信息顶部钩子 -->
            {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
            <div class="plugins-tag">
                <span>plugins_view_search_goods_inside_top</span>
            </div>
            {{/if}}
            {{php}}
            $hook_name = 'plugins_view_search_goods_inside_top';
            $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
            if(!empty($hook_data) && is_array($hook_data))
            {
            foreach($hook_data as $hook)
            {
            if(is_string($hook) || is_int($hook))
            {
            echo htmlspecialchars_decode($hook);
            }
            }
            }
            {{/php}}

            <img src="{{$v.images}}" alt="{{$v.title}}" class="goods-images"/>
            <div class="am-padding-xs mTop10 text-center">
                <p class="am-text-truncate-2 goods-title" title="{{$v.title}}">【{{$v.fnumber}}】
                    {{if isset($v.special_price)}}
                     <strong style="color: red;">OS</strong>
                    {{/if}}
                    {{$v.title}}</p>
                <strong>{{$currency_symbol}}{{$v.min_price}}</strong>


            </div>
        </a>
       <!-- <div class="goods-detail text-center" data-id="{{$v.id}}">
            {{if isset($v['is_favor']) and $v['is_favor'] eq 1}}
            <a class="btn btn-primary favor-submit ftSize14" data-id="{{$v.id}}" onclick="favor(this,{{$v.id}},'{{:MyUrl("index/goods/favor")}}')" data-ajax-url="{{:MyUrl('index/goods/favor')}}">已收藏</a>
            {{else /}}
            <a class="btn btn-primary mLeft20 ftSize14 login-event" data-id="{{$v.id}}" onclick="favor(this,{{$v.id}},'{{:MyUrl("index/goods/favor")}}')" data-ajax-url="{{:MyUrl('index/goods/favor')}}">收藏</a>
            {{/if}}
            <button class="btn btn-primary mLeft20 ftSize14" onclick="cart(this,{{$v.id}})">收藏</button>
        </div>-->


        <!-- 搜索页面商品信息售价顶部钩子 -->
        {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
        <div class="plugins-tag">
            <span>plugins_view_search_goods_inside_price_top</span>
        </div>
        {{/if}}
        {{php}}
        $hook_name = 'plugins_view_search_goods_inside_price_top';
        $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
        if(!empty($hook_data) && is_array($hook_data))
        {
        foreach($hook_data as $hook)
        {
        if(is_string($hook) || is_int($hook))
        {
        echo htmlspecialchars_decode($hook);
        }
        }
        }
        {{/php}}

        <!-- 搜索页面商品信息底部钩子 -->
        {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
        <div class="plugins-tag">
            <span>plugins_view_search_goods_inside_bottom</span>
        </div>
        {{/if}}
        {{php}}
        $hook_name = 'plugins_view_search_goods_inside_bottom';
        $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
        if(!empty($hook_data) && is_array($hook_data))
        {
        foreach($hook_data as $hook)
        {
        if(is_string($hook) || is_int($hook))
        {
        echo htmlspecialchars_decode($hook);
        }
        }
        }
        {{/php}}
    </div>
</li>
{{/foreach}}
{{/if}}